#region Using References

using System;
using System.Threading.Tasks;

#endregion

namespace Beaker.Services.Tasks.Tpl
{
	internal sealed class TplTaskCollection<T>
		: TaskCollection<T>
	{
		protected override Task<T> ExecuteCore( Func<T> func )
		{
			var task = new Task<T>( func );
			task.Start();
			return task;
		}
	}
}